﻿using System.ComponentModel.DataAnnotations;

namespace Devonline.Core
{
    /// <summary>
    /// 认证方式
    /// </summary>
    public enum AuthType
    {
        /// <summary>
        /// 不认证
        /// </summary>
        [Display(Name = "不认证")]
        None,
        /// <summary>
        /// 用户名密码认证
        /// </summary>
        [Display(Name = "用户名密码认证")]
        Password,
        /// <summary>
        /// AppCode 认证
        /// </summary>
        [Display(Name = "AppCode 认证")]
        AppCode,
        /// <summary>
        /// AppKeySecret 认证
        /// </summary>
        [Display(Name = "AppKeySecret 认证")]
        AppSecret,
        /// <summary>
        /// 微信认证
        /// </summary>
        [Display(Name = "微信认证")]
        WeChat,
        /// <summary>
        /// 支付宝认证
        /// </summary>
        [Display(Name = "支付宝认证")]
        Alipay,
        /// <summary>
        /// OpenAuth2 认证
        /// </summary>
        [Display(Name = "OpenAuth2 认证")]
        OAuth2
    }
}
